package com.example.themeleaf.entity;

import lombok.Data;

/**
 * @author lamaxiya
 * @version 1.0
 * @date 2021/4/12 10:03
 */
@Data
public class TaskRankingOnChain {
//    链上任务排名解析类
    private String key;
    private Record record;
    @Data
    static class Record {
//        字段信息，docType--存储类型、user_id--用户id、task_id--任务编号、score--分数、rank--排名
        private String docType;
        private String user_id;
        private String task_id;
        private float score;
        private int rank;
    }
}
